package com.qidian.mes.pojo;

import java.util.List;


public class WorkOrder {
    private Long workOrderId;
    private String workOrderCode;
    private String workOrderName;
    private String orderSource;
    private String sourceCode;
    private Long productId;
    private String productCode;
    private String productName;
    private String unitOfMeasure;
    private Double quantity;
    private Double quantityProduced;
    private Double quantityChanged;
    private Double quantityScheduled;
    private Long clientId;
    private String clientCode;
    private String clientName;
    private String batchCode;
    private String requestDate;
    private Long parentId;
    private String ancestors;
    private String status;
    private String remark;
    private List<WorkOrder> children;

    public List<WorkOrder> getChildren() {
        return children;
    }

    public void setChildren(List<WorkOrder> children) {
        this.children = children;
    }

    public WorkOrder() {
    }

    public WorkOrder(Long workOrderId, String workOrderCode, String workOrderName, String orderSource, String sourceCode, Long productId, String productCode, String productName, String unitOfMeasure, Double quantity, Double quantityProduced, Double quantityChanged, Double quantityScheduled, Long clientId, String clientCode, String clientName, String batchCode, String requestDate, Long parentId, String ancestors, String status, String remark) {
        this.workOrderId = workOrderId;
        this.workOrderCode = workOrderCode;
        this.workOrderName = workOrderName;
        this.orderSource = orderSource;
        this.sourceCode = sourceCode;
        this.productId = productId;
        this.productCode = productCode;
        this.productName = productName;
        this.unitOfMeasure = unitOfMeasure;
        this.quantity = quantity;
        this.quantityProduced = quantityProduced;
        this.quantityChanged = quantityChanged;
        this.quantityScheduled = quantityScheduled;
        this.clientId = clientId;
        this.clientCode = clientCode;
        this.clientName = clientName;
        this.batchCode = batchCode;
        this.requestDate = requestDate;
        this.parentId = parentId;
        this.ancestors = ancestors;
        this.status = status;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "WorkOrder{" +
                "workOrderId=" + workOrderId +
                ", workOrderCode='" + workOrderCode + '\'' +
                ", workOrderName='" + workOrderName + '\'' +
                ", orderSource='" + orderSource + '\'' +
                ", productId=" + productId +
                ", productCode='" + productCode + '\'' +
                ", productName='" + productName + '\'' +
                ", unitOfMeasure='" + unitOfMeasure + '\'' +
                ", quantity=" + quantity +
                ", quantityProduced=" + quantityProduced +
                ", quantityChanged=" + quantityChanged +
                ", quantityScheduled=" + quantityScheduled +
                ", clientId=" + clientId +
                ", clientCode='" + clientCode + '\'' +
                ", clientName='" + clientName + '\'' +
                ", batchCode='" + batchCode + '\'' +
                ", requestDate='" + requestDate + '\'' +
                ", parentId=" + parentId +
                ", status='" + status + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public Long getWorkOrderId() {
        return workOrderId;
    }

    public void setWorkOrderId(Long workOrderId) {
        this.workOrderId = workOrderId;
    }

    public String getWorkOrderCode() {
        return workOrderCode;
    }

    public void setWorkOrderCode(String workOrderCode) {
        this.workOrderCode = workOrderCode;
    }

    public String getWorkOrderName() {
        return workOrderName;
    }

    public void setWorkOrderName(String workOrderName) {
        this.workOrderName = workOrderName;
    }

    public String getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(String orderSource) {
        this.orderSource = orderSource;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getUnitOfMeasure() {
        return unitOfMeasure;
    }

    public void setUnitOfMeasure(String unitOfMeasure) {
        this.unitOfMeasure = unitOfMeasure;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public Double getQuantityProduced() {
        return quantityProduced;
    }

    public void setQuantityProduced(Double quantityProduced) {
        this.quantityProduced = quantityProduced;
    }

    public Double getQuantityChanged() {
        return quantityChanged;
    }

    public void setQuantityChanged(Double quantityChanged) {
        this.quantityChanged = quantityChanged;
    }

    public Double getQuantityScheduled() {
        return quantityScheduled;
    }

    public void setQuantityScheduled(Double quantityScheduled) {
        this.quantityScheduled = quantityScheduled;
    }

    public Long getClientId() {
        return clientId;
    }

    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }

    public String getClientCode() {
        return clientCode;
    }

    public void setClientCode(String clientCode) {
        this.clientCode = clientCode;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    public String getRequestDate() {
        return requestDate;
    }

    public void setRequestDate(String requestDate) {
        this.requestDate = requestDate;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
